require 'picounit/suite/filepattern.rb'
require 'picounit/suite/filecounter'

class FileSystem
  TESTS = FilePattern.new(/.*Test.class/)

  def count_test_cases(class_name)
  	MatchingFileCounter.new(TESTS).count_files(class_name.containing_directory)
  end
end